package utils;

import java.util.HashMap;
import java.util.Map;

public class StaticHeaderRelation {
	/**
	 * 渠道投资累计字段对应关系
	 */
	public final static Map<String, Object> ChannelDailyAddUpMap = new HashMap<String, Object>();
	static {
		ChannelDailyAddUpMap.put("渠道一级", "channelOne");
		ChannelDailyAddUpMap.put("渠道二级", "channelTwo");
		ChannelDailyAddUpMap.put("渠道三级", "channelThree");
		ChannelDailyAddUpMap.put("渠道四级", "channelFour");
		ChannelDailyAddUpMap.put("渠道五级", "channelFive");
		ChannelDailyAddUpMap.put("注册客户端", "client");
		ChannelDailyAddUpMap.put("注册人数", "enrollment");
		ChannelDailyAddUpMap.put("验证身份人数", "verifyIdentityUser");
		ChannelDailyAddUpMap.put("验证率", "verifyRate");
		ChannelDailyAddUpMap.put("投资人数", "investUser");
		ChannelDailyAddUpMap.put("投资金额", "investMoney");
		ChannelDailyAddUpMap.put("成功充值人数", "succeedTopUpPeople");
		ChannelDailyAddUpMap.put("成功充值金额", "succeedTopUpMoney");
		ChannelDailyAddUpMap.put("第一次投资人数", "succeedFirstPeople");
		ChannelDailyAddUpMap.put("第一次投资金额", "succeedFirstMoney");
		ChannelDailyAddUpMap.put("第二次投资人数", "succeedSecondPeople");
		ChannelDailyAddUpMap.put("第二次投资金额", "succeedSecondMoney");
		ChannelDailyAddUpMap.put("第三次以上投资人数", "succeedThirdPeople");
		ChannelDailyAddUpMap.put("第三次以上投资金额", "succeedThirdMoney");
	};

	/**
	 * 渠道实时汇总表格对应关系
	 */
	public final static Map<String, Object> DailyPaperMap = new HashMap<String, Object>();
	static {
		DailyPaperMap.put("时间", "times");
		DailyPaperMap.put("渠道一级", "channelOne");
		DailyPaperMap.put("渠道二级", "channelTwo");
		DailyPaperMap.put("渠道三级", "channelThree");
		DailyPaperMap.put("渠道四级", "channelFour");
		DailyPaperMap.put("渠道五级", "channelFive");
		DailyPaperMap.put("注册客户端", "client");
		DailyPaperMap.put("注册人数", "enrollment");
		DailyPaperMap.put("验证身份人数", "verifyIdentityUser");
		DailyPaperMap.put("投资人数", "investUser");
		DailyPaperMap.put("投资金额", "investMoney");
		DailyPaperMap.put("新用户投资人数", "newInvestUser");
		DailyPaperMap.put("新用户投资金额", "newInvestMoney");
		DailyPaperMap.put("老用户首投人数", "oldUserFirstPeoplen");
		DailyPaperMap.put("老用户首投金额", "oldUserFirstMoney");
		DailyPaperMap.put("老用户追投人数", "oldUserChasePeople");
		DailyPaperMap.put("老用户追投金额", "oldUserChaseMoney");
		DailyPaperMap.put("成功充值人数", "succeedTopUpPeople");
		DailyPaperMap.put("成功充值金额", "succeedTopUpMoney");
	};
	
	/**
	 * SEM渠道实时汇总表格对应关系
	 */
	public final static Map<String, Object> DailySEMPaperMap = new HashMap<String, Object>();
	static {
		DailySEMPaperMap.put("时间", "times");
		DailySEMPaperMap.put("渠道一级", "channelOne");
		DailySEMPaperMap.put("渠道二级", "channelTwo");
		DailySEMPaperMap.put("渠道三级", "channelThree");
		DailySEMPaperMap.put("渠道四级", "channelFour");
		DailySEMPaperMap.put("渠道五级", "channelFive");
		DailySEMPaperMap.put("关键字", "client");
		DailySEMPaperMap.put("注册人数", "enrollment");
		DailySEMPaperMap.put("验证身份人数", "verifyIdentityUser");
		DailySEMPaperMap.put("投资人数", "investUser");
		DailySEMPaperMap.put("投资金额", "investMoney");
		DailySEMPaperMap.put("新用户投资人数", "newInvestUser");
		DailySEMPaperMap.put("新用户投资金额", "newInvestMoney");
		DailySEMPaperMap.put("老用户首投人数", "oldUserFirstPeoplen");
		DailySEMPaperMap.put("老用户首投金额", "oldUserFirstMoney");
		DailySEMPaperMap.put("老用户追投人数", "oldUserChasePeople");
		DailySEMPaperMap.put("老用户追投金额", "oldUserChaseMoney");
		DailySEMPaperMap.put("成功充值人数", "succeedTopUpPeople");
		DailySEMPaperMap.put("成功充值金额", "succeedTopUpMoney");
	};

	/**
	 * 渠道投资日、周、月报表格对应关系
	 */
	public final static Map<String, Object> ChannelInvestDayMap = new HashMap<String, Object>();
	static {
		ChannelInvestDayMap.put("时间", "times");
		ChannelInvestDayMap.put("渠道一级", "channelOne");
		ChannelInvestDayMap.put("渠道二级", "channelTwo");
		ChannelInvestDayMap.put("渠道三级", "channelThree");
		ChannelInvestDayMap.put("渠道四级", "channelFour");
		ChannelInvestDayMap.put("渠道五级", "channelFive");
		ChannelInvestDayMap.put("注册客户端", "client");
		ChannelInvestDayMap.put("注册人数", "enrollment");
		ChannelInvestDayMap.put("验证身份人数", "verifyIdentityUser");
		ChannelInvestDayMap.put("验证率", "verifyRate");
		ChannelInvestDayMap.put("投资人数", "investUser");
		ChannelInvestDayMap.put("投资金额", "investMoney");
		ChannelInvestDayMap.put("新用户投资人数", "newInvestUser");
		ChannelInvestDayMap.put("新用户投资金额", "newInvestMoney");
		ChannelInvestDayMap.put("激活率", "activateRate");
		ChannelInvestDayMap.put("新用户人均投资金额", "newUserAverageMoney");
		ChannelInvestDayMap.put("老用户首投人数", "oldUserFirstPeoplen");
		ChannelInvestDayMap.put("老用户首投金额", "oldUserFirstMoney");
		ChannelInvestDayMap.put("老用户追投人数", "oldUserChasePeople");
		ChannelInvestDayMap.put("老用户追投金额", "oldUserChaseMoney");
		ChannelInvestDayMap.put("老用户追投人均金额", "oldUserChaseAverageMoney");
		ChannelInvestDayMap.put("累积到昨日的投资人数", "addUpInvestPeople");
		ChannelInvestDayMap.put("老用户追加活跃度", "oldLivenessaa");
		ChannelInvestDayMap.put("成功充值人数", "succeedTopUpPeople");
		ChannelInvestDayMap.put("成功充值金额", "succeedTopUpMoney");
	}
	
	/**
	 * 渠道投资日、周、月报表格对应关系
	 */
	public final static Map<String, Object> ChannelSEMDayMap = new HashMap<String, Object>();
	static {
		ChannelSEMDayMap.put("时间", "times");
		ChannelSEMDayMap.put("渠道一级", "channelOne");
		ChannelSEMDayMap.put("渠道二级", "channelTwo");
		ChannelSEMDayMap.put("渠道三级", "channelThree");
		ChannelSEMDayMap.put("渠道四级", "channelFour");
		ChannelSEMDayMap.put("渠道五级", "channelFive");
		ChannelSEMDayMap.put("关键字", "client");
		ChannelSEMDayMap.put("注册人数", "enrollment");
		ChannelSEMDayMap.put("验证身份人数", "verifyIdentityUser");
		ChannelSEMDayMap.put("验证率", "verifyRate");
		ChannelSEMDayMap.put("投资人数", "investUser");
		ChannelSEMDayMap.put("投资金额", "investMoney");
		ChannelSEMDayMap.put("新用户投资人数", "newInvestUser");
		ChannelSEMDayMap.put("新用户投资金额", "newInvestMoney");
		ChannelSEMDayMap.put("激活率", "activateRate");
		ChannelSEMDayMap.put("新用户人均投资金额", "newUserAverageMoney");
		ChannelSEMDayMap.put("老用户首投人数", "oldUserFirstPeoplen");
		ChannelSEMDayMap.put("老用户首投金额", "oldUserFirstMoney");
		ChannelSEMDayMap.put("老用户追投人数", "oldUserChasePeople");
		ChannelSEMDayMap.put("老用户追投金额", "oldUserChaseMoney");
		ChannelSEMDayMap.put("老用户追投人均金额", "oldUserChaseAverageMoney");
		ChannelSEMDayMap.put("累积到昨日的投资人数", "addUpInvestPeople");
		ChannelSEMDayMap.put("老用户追加活跃度", "oldLivenessaa");
		ChannelSEMDayMap.put("成功充值人数", "succeedTopUpPeople");
		ChannelSEMDayMap.put("成功充值金额", "succeedTopUpMoney");
	}

	/**
	 * 渠道产品投资日、周、月字段对应关系
	 */
	public final static Map<String, Object> ChannelManagesDayMap = new HashMap<String, Object>();
	static {
		ChannelManagesDayMap.put("时间", "times");
		ChannelManagesDayMap.put("注册客户端", "client");
		ChannelManagesDayMap.put("渠道一级", "channelOne");
		ChannelManagesDayMap.put("渠道二级", "channelTwo");
		ChannelManagesDayMap.put("渠道三级", "channelThree");
		ChannelManagesDayMap.put("渠道四级", "channelFour");
		ChannelManagesDayMap.put("渠道五级", "channelFive");
		ChannelManagesDayMap.put("理财产品", "financeProducts");
		ChannelManagesDayMap.put("总投资人数", "sumUpInvestUser");
		ChannelManagesDayMap.put("总投资金额", "sumUpInvestmoney");
		ChannelManagesDayMap.put("新用户投资人数", "newInvestUser");
		ChannelManagesDayMap.put("新用户投资金额", "newInvestMoney");
		ChannelManagesDayMap.put("新用户人均投资金额", "newInvestMoneyMean");
		ChannelManagesDayMap.put("老用户首投人数", "oldFirstInvestUser");
		ChannelManagesDayMap.put("老用户首投金额", "oldFirstInvestmoney");
		ChannelManagesDayMap.put("老用户首投人均金额", "oldFirstInvestmoneyMean");
		ChannelManagesDayMap.put("老用户追投人数", "oldChaseInvestUser");
		ChannelManagesDayMap.put("老用户追投金额", "oldChaseInvestmoney");
		ChannelManagesDayMap.put("老用户追投人均金额", "oldChaseInvestmoneyMean");
	}

	/**
	 * 渠道ROI日报导出对应关系
	 */
	public final static Map<String, Object> InvestROIMap = new HashMap<String, Object>();
	static {
		InvestROIMap.put("时间", "time");
		InvestROIMap.put("渠道一级", "channelOne");
		InvestROIMap.put("渠道二级", "channelTwo");
		InvestROIMap.put("渠道三级", "channelThree");
		InvestROIMap.put("渠道四级", "channelFour");
		InvestROIMap.put("渠道五级", "channelFive");
		InvestROIMap.put("注册人数", "enrollment");
		InvestROIMap.put("投资人数", "investUser");
		InvestROIMap.put("投资金额", "investMoney");
		InvestROIMap.put("新用户投资人数", "newInvestUser");
		InvestROIMap.put("新用户投资金额", "newInvestMoney");
		InvestROIMap.put("渠道花费", "channelMoney");
		InvestROIMap.put("注册单价", "loginUnitPrice");
		InvestROIMap.put("投资转换单价", "investSwitchUnitPrice");
		InvestROIMap.put("ROI", "ROI");
	}

	/**
	 * 用户结构分析字段对应关系
	 */
	public final static Map<String, Object> UserConstructionMap = new HashMap<String, Object>();
	static {
		UserConstructionMap.put("渠道一级", "channelOne");
		UserConstructionMap.put("渠道二级", "channelTwo");
		UserConstructionMap.put("渠道三级", "channelThree");
		UserConstructionMap.put("渠道四级", "channelFour");
		UserConstructionMap.put("渠道五级", "channelFive");
		UserConstructionMap.put("关键字", "key_word");
		UserConstructionMap.put("用户ID", "userId");
		UserConstructionMap.put("注册时间", "loginTime");
		UserConstructionMap.put("注册来源", "sys_source");
		UserConstructionMap.put("身份证是否验证", "idcardTrue");
		UserConstructionMap.put("省份", "province");
		UserConstructionMap.put("城市", "city");
		UserConstructionMap.put("最后一次登录所在地", "theLastTimeCity");
		UserConstructionMap.put("性别", "sex");
		UserConstructionMap.put("星座", "constellation");
		UserConstructionMap.put("年代", "time");
		UserConstructionMap.put("是否投资", "investment");
		UserConstructionMap.put("用户年龄", "userAge");
		UserConstructionMap.put("用户生日", "userBirthday");
		UserConstructionMap.put("真实姓名", "userName");
		UserConstructionMap.put("手机号", "cellNumber");
		UserConstructionMap.put("身份证号", "idCard");
		UserConstructionMap.put("身份证验证时间", "creatTime");
		UserConstructionMap.put("第一次投资时间", "theFirstTimeInvestTime");
		UserConstructionMap.put("邀请人ID", "friendId");
	}

	public final static Map<String, Object> BehaviouralAnalysisMap = new HashMap<String, Object>();
	static {
		BehaviouralAnalysisMap.put("编号", "id");
		BehaviouralAnalysisMap.put("用户ID", "userId");
		BehaviouralAnalysisMap.put("注册时间", "loginTime");
		BehaviouralAnalysisMap.put("注册来源", "sys_source");
		BehaviouralAnalysisMap.put("渠道一级", "channelOne");
		BehaviouralAnalysisMap.put("渠道二级", "channelTwo");
		BehaviouralAnalysisMap.put("渠道三级", "channelThree");
		BehaviouralAnalysisMap.put("渠道四级", "channelFour");
		BehaviouralAnalysisMap.put("渠道五级", "channelFive");
		BehaviouralAnalysisMap.put("关键字", "key_word");
		BehaviouralAnalysisMap.put("身份证是否验证", "idcardTrue");
		BehaviouralAnalysisMap.put("是否充值", "ifTopUp");
		BehaviouralAnalysisMap.put("是否投资", "ifInvestment");
		BehaviouralAnalysisMap.put("真实姓名", "userName");
		BehaviouralAnalysisMap.put("手机号", "cellNumber");
		BehaviouralAnalysisMap.put("身份证验证时间", "creatTime");
		BehaviouralAnalysisMap.put("首次充值时间", "firstTimeTopUp");
		BehaviouralAnalysisMap.put("末次充值时间", "firstTimeTopUp");
		BehaviouralAnalysisMap.put("末次充值时间", "theLastTimeTopUp");
		BehaviouralAnalysisMap.put("总充值次数", "sumUpTopUpNumber");
		BehaviouralAnalysisMap.put("总充值金额", "sumUpTopUpMoney");
		BehaviouralAnalysisMap.put("平均充值金额", "averageTopUpNumber");
		BehaviouralAnalysisMap.put("停止充值天数", "stopTopUpDay");
		BehaviouralAnalysisMap.put("首次投资时间", "firstTopUpTime");
		BehaviouralAnalysisMap.put("末次投资时间", "theLastTimeTopUpTime");
		BehaviouralAnalysisMap.put("总投资次数", "sumUpInvestNumber");
		BehaviouralAnalysisMap.put("总投资金额", "sumUpInvestMoney");
		BehaviouralAnalysisMap.put("平均投资金额", "meanInvestMoney");
		BehaviouralAnalysisMap.put("停止投资天数", "stopInvestDay");
		BehaviouralAnalysisMap.put("师傅化缘三月期投资次数", "masterMendicityMarchInvestNumber");
		BehaviouralAnalysisMap.put("师傅化缘三月期投资金额", "masterMendicityMarchInvestMoney");
		BehaviouralAnalysisMap.put("师傅化缘三月期平均投资金额", "averageMasterMendicityMarchInvestMoney");
		BehaviouralAnalysisMap.put("师傅化缘三月期持有金额", "masterMendicityMarchHoldMoney");

		BehaviouralAnalysisMap.put("师傅化缘六月期投资次数", "masterMendicityJuneInvestNumber");
		BehaviouralAnalysisMap.put("师傅化缘六月期投资金额", "masterMendicityJuneInvestMoney");
		BehaviouralAnalysisMap.put("师傅化缘六月期平均投资金额", "averageMasterMendicityJuneInvestMoney");
		BehaviouralAnalysisMap.put("师傅化缘六月期持有金额", "masterMendicityJuneHoldMoney");
		BehaviouralAnalysisMap.put("师傅化缘十二月期投资次数", "masterMendicityDecemberInvestNumber");
		BehaviouralAnalysisMap.put("师傅化缘十二月期投资金额", "masterMendicityDecemberInvestMoney");
		BehaviouralAnalysisMap.put("师傅化缘十二月期平均投资金额", "averageMasterMendicityDecemberInvestMoney");
		BehaviouralAnalysisMap.put("师傅化缘十二月期持有金额", "masterMendicityDecemberHoldMoney");
		BehaviouralAnalysisMap.put("小沙化缘投资天数", "littleSandMendicityInvestNumber");

		BehaviouralAnalysisMap.put("小沙化缘投资金额", "littleSandMendicityInvestMoney");
		BehaviouralAnalysisMap.put("小沙化缘平均投资金额", "averageLittleSandMendicityInvestMoney");
		BehaviouralAnalysisMap.put("小沙化缘退出次数", "littleSandMendicityExitNumber");
		BehaviouralAnalysisMap.put("小沙化缘退出金额", "littleSandMendicityExitMoney");
		BehaviouralAnalysisMap.put("小沙化缘持有金额", "littleSandMendicityHoldMoney");
		BehaviouralAnalysisMap.put("首次提现时间", "firstWithdrawDepositTime");
		BehaviouralAnalysisMap.put("末次提现时间", "theLastTimeWithdrawDepositTime");
		BehaviouralAnalysisMap.put("总提现次数", "sumUpWithdrawDepositNumber");
		BehaviouralAnalysisMap.put("总体性金额", "sumUpWithdrawDepositMoney");
		BehaviouralAnalysisMap.put("平均提现金额", "meanWithdrawDepositMoney");
		BehaviouralAnalysisMap.put("停止提现天数", "stopWithdrawDepositDay");

	}

	public final static Map<String, Object> OnlineStatisticsMap = new HashMap<String, Object>();
	static {
		OnlineStatisticsMap.put("时间", "times");
		OnlineStatisticsMap.put("充值金额", "topUpMoney");
		OnlineStatisticsMap.put("提现金额", "withdrawMoney");
		OnlineStatisticsMap.put("用户支付提现手续费", "userPoundage");
		OnlineStatisticsMap.put("活期投资金额", "investMoney");
		OnlineStatisticsMap.put("退出金额", "quitMoney");
		OnlineStatisticsMap.put("退出本金", "quitCapital");
		OnlineStatisticsMap.put("退出利息", "quitInterest");
		OnlineStatisticsMap.put("投资金额", "decideInvestMoney");
		OnlineStatisticsMap.put("3月投资本金", "threeInvestMoney");
		OnlineStatisticsMap.put("6期投资本金", "sixInvestMoney");
		OnlineStatisticsMap.put("12期投资本金", "twelveInvestMoney");
		OnlineStatisticsMap.put("回收金额", "recycleMoney");
		OnlineStatisticsMap.put("3期回收本金", "threeRecycleMoney");
		OnlineStatisticsMap.put("3期回收利息", "threeRecycleInterest");
		OnlineStatisticsMap.put("6期回收本金", "sixRecycleMoney");
		OnlineStatisticsMap.put("6期回收利息", "sixRecycleInterest");
		OnlineStatisticsMap.put("12期回收本金", "twelveRecycleMoney");
		OnlineStatisticsMap.put("12期回收利息", "twelveRecycleInterest");
		OnlineStatisticsMap.put("当日收益", "earnings");
		OnlineStatisticsMap.put("当日活期收益", "liveEarnings");
		OnlineStatisticsMap.put("当日定期收益", "decideEarnings");
		OnlineStatisticsMap.put("活动账户总金额", "activitySumMoney");
		OnlineStatisticsMap.put("活动账户 充值金额", "activityTopUpMoney");
		OnlineStatisticsMap.put("红包使用金额", "redPacketMoney");
		OnlineStatisticsMap.put("系统红包使用金额", "systemRedPacketMoney");
		OnlineStatisticsMap.put("人工充值红包使用金额", "artificialRedPacketMoney");
		OnlineStatisticsMap.put("返利出账金额", "rebateOutMoney");
		OnlineStatisticsMap.put("用户账户余额", "userAccountBalance");
		OnlineStatisticsMap.put("中间账户总额", "middleAccountBalance");
		OnlineStatisticsMap.put("中间账户贷出总额", "middleAccountLoanBalance");
		OnlineStatisticsMap.put("中间账户总余额", "middleAccountSumBalance");
		OnlineStatisticsMap.put("活期中间账户总额", "investMiddleSumMoney");
		OnlineStatisticsMap.put("活期中间账户总余额", "investMiddleSumBalance");
		OnlineStatisticsMap.put("定期中间账户总额", "decideMiddleSumMoney");
		OnlineStatisticsMap.put("定期中间账户总余额", "decideMiddleSumBalance");
		OnlineStatisticsMap.put("公司盈余账户总金额", "firmSurplusSumMoney");
		OnlineStatisticsMap.put("公司账户充值进账金额", "firmAccountEnterMoney");
		OnlineStatisticsMap.put("人工充值出账金额", "artificialTopUpComeMoney");
		OnlineStatisticsMap.put("理财人收益 出账金额", "manageComeMoney");
		OnlineStatisticsMap.put("定期收益出账金额", "decideComeMoney");
		OnlineStatisticsMap.put("活期收益出账金额", "activityComeMoney");
		OnlineStatisticsMap.put("贷款人偿还利息", "loanRepayInterest");
		OnlineStatisticsMap.put("手续费出账金额", "handlingComeMoney");
		OnlineStatisticsMap.put("用户充值手续费", "userTopUpHandling");
		OnlineStatisticsMap.put("用户提现手续费", "userWithdrawHandling");
		OnlineStatisticsMap.put("公司账户充值手续费", "firmTopUpHandling");
		OnlineStatisticsMap.put("放款手续费", " LendingFees");
		OnlineStatisticsMap.put("贷款业务进账金额", "loanEnterMoney");
		OnlineStatisticsMap.put("贷款业务出账金额", "loanComeMoney");
		OnlineStatisticsMap.put("待支付利息总金额", "sumInterest");
		OnlineStatisticsMap.put("待支付利息定期总金额", "decideSumInterest");
		OnlineStatisticsMap.put("待支付利息活期总金额", "activitySumInterest");
	}
}
